package me.ivps.android.servicedemo;

import android.app.Application;
import android.util.Log;

public class MainApp extends Application {
    
    private static final String TAG = "MainApp";
    
    private final StringBuilder text = new StringBuilder();
    
    @Override
    public void onCreate() {
        super.onCreate();
        Log.d(TAG, "onCreate");
    }
    
    public void cleatText() {
        text.setLength(0);
    }
    
    public void addText(String str) {
        text.append("\r\n").append(str);
    }
    
    public String getText() {
        return text.toString();
    }
}
